<template>
  <ManagePanel :menus="menu" :current-item="currentRoute">
    <router-view />
  </ManagePanel>
</template>

<script setup>
  import ManagePanel from '../../components/admin/ManagePanel.vue'
  import {useRoute} from "vue-router";

  const route = useRoute()

  const currentRoute = [route.name]

  const menu = [
    {
      key: 'UserManager',
      icon: 'UserOutlined',
      text: '用户管理'
    }
  ]
</script>

<style scoped>
</style>